# 在这里写上你的代码 :-)
from microbit import *
while True:
    if(button_a.is_pressed()):
        display.show(Image.HAPPY)
    elif(button_b.is_pressed()):
        display.show(Image.SAD)
    else:
        display.clear()
    sleep(100)
